package org.tinygroup.xstream.test;

import java.util.List;

import org.tinygroup.xstream.CustomEnumSingleNameConverter;

import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.annotations.XStreamOmitField;


public class Company {
	String dontoutput;
	String name;
	String contory;
	int num;
	double money;
	
	List<Department> departments;
	Role[] roles;
	@XStreamConverter(value=CustomEnumSingleNameConverter.class)
	Color color ; 
	
 	public Color getColor() {
		return color;
	}
	public void setColor(Color color) {
		this.color = color;
	}
	public String getDontoutput() {
		return dontoutput;
	}
	public void setDontoutput(String dontoutput) {
		this.dontoutput = dontoutput;
	}
	public Role[] getRoles() {
		return roles;
	}
	public void setRoles(Role[] roles) {
		this.roles = roles;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContory() {
		return contory;
	}
	public void setContory(String contory) {
		this.contory = contory;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public List<Department> getDepartments() {
		return departments;
	}
	public void setDepartments(List<Department> departments) {
		this.departments = departments;
	}
	
	
}
